%h2 New Article
%div.from
  - form_for :article, :url => { :action => "create" } do |f|
    = render "form", :f => f
    %p.clearfix
      %span.left
        = link_to content_tag(:span, "Content"), "javascript:void(0)", :id => "add_text"
        = link_to content_tag(:span, "Source"), "javascript:void(0)", :id => "add_source"
      %span.right
        = f.submit "Create"
        or
        = link_to 'Back', :back
:javascript
  $(document).ready(function(){
    $("#add_text").addText();
    $("#add_source").addSource();    
  })